//银银间回购定盘
#pragma once
#include <core/sync/lock.h>
#include <qbmessage/include/message_bond.h>
#include <qbprotocol/include/SSFIModel.h>
#include <qbprotocol/include/SSMsgStruct.h>
#include <QString>
#include <set>

class MessageReceiver;
class FICIBRepoFixingData {
public:
	FICIBRepoFixingData();
	qb::base::Mutex& getLock() { return m_lock; };

	void clear();
	const std::vector<std::string>& getOrder();
	const xFixingDepoRepoRateList_c& getData();

	void reqData(MessageReceiver* msgRecv);
	bool onReceive(int32_t funcId, const qb::SSAckMsg& msg);

private:
	std::vector<std::string> m_vctOrder;
	xFixingDepoRepoRateList_c m_dataList;
	qb::base::Mutex m_lock;
};

